package com.frejoys.common.dto.common.appversion;

import com.frejoys.common.dto.common.PageDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class AppVersionListDto extends PageDto {

    @Schema(type = "Float", name = "version", description = "版本号", required = true, defaultValue = "1.0")
    private Float version;

    @Schema(type = "Integer", name = "type", description = "类型：1.ios，2.android", required = true, defaultValue = "1")
    private Integer type;

    @Schema(type = "Integer", name = "upgradeType", description = "类别：0.正常升级，1.强制升级", required = true, defaultValue = "0")
    private Integer upgradeType;

}
